/*******************************************************************************
 ** Government Sanctioned Espionage RPG                                       **
 ** http://www.government-sanctioned.us/                                      **
 **===========================================================================**
 ** Name: events.cpp                                                          **
 ** Description: Events for event-driven gameplay.                            **
 **                                                                           **
 ** Open Source Initiative (OSI) Approved License                             **
 **                                                                           **
 ** The contents of this file are subject to the terms of the                 **
 ** Common Development and Distribution License, Version 1.0 only             **
 ** (the "License").  You may not use this file except in compliance          **
 ** with the License.                                                         **
 **                                                                           **
 ** You can find a copy of the license in the LICENSE file within             **
 ** this distribution or at $WIKI/display/GOVT/License-software.              **
 ** Software distributed under the License is distributed on an "AS IS"       **
 ** basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.           **
 ** See the License for the specific language governing permissions           **
 ** and limitations under the License.                                        **
 **                                                                           **
 ** When distributing Covered Code, include this CDDL header in each          **
 ** file and include the License file at $GAME_DIR/LICENSE.                   **
 ** If applicable, add the following below this header, with the indicated    **
 ** fields enclosed by brackets "[]" replaced with your own identifying       **
 ** information: Portions Copyright [yyyy] [name of copyright owner]          **
 **                                                                           **
 ** Copyright (c) 2009-2012  Barry Gian James <gian@gamingods.net>            **
 ** All rights reserved.                                                      **
 ******************************************************************************/
// Modified $Date: 2012-08-14 20:47:30 -0600 (Tue, 14 Aug 2012) $ by $Author: unknown $
#define events_cpp_ID   "$Id: events.cpp 69068 2012-08-15 02:47:30Z unknown $"
#include "events.hpp"

// TODO Figure out how to set 'entity_t id' w/o using boost::uuid
Event::Event(EventType et, TriggerType tt, entity_t src)
{
	global::UUIDFactory::Create(id);
	source = src;
	trigger = tt;
	type	= et;
	isRepeating = false;
	radius	= 1;
	duration = exeTime = boost::posix_time::special_values::pos_infin;
	expiration = timestamp = boost::posix_time::special_values::pos_infin;
	room = 0;
}

void
Event::Unsubscribe(entity_t e)
{

}
